import { BottomTabScreenProps } from '@react-navigation/bottom-tabs';
import { NativeStackScreenProps } from '@react-navigation/native-stack';

export type ParamList = {
  HomeTabs: undefined;
  Home: undefined;
  Mine: undefined;
  Cartoon: undefined;
  Messages: undefined; 
  
  Profile: { uid: string };  
  Settings: undefined; 
  Login: undefined; 
  Video: { data: any };
  Web: { title: string; url: string };
  Search: undefined;
}; 

export type HomeScreenProps = BottomTabScreenProps<ParamList, 'Home'>;
export type MineScreenProps = BottomTabScreenProps<ParamList, 'Mine'>;
export type CartoonScreenProps = BottomTabScreenProps<ParamList, 'Cartoon'>;
export type MessageScreenProps = BottomTabScreenProps<ParamList, 'Messages'>;

export type ProfileScreenProps = NativeStackScreenProps<ParamList, 'Profile'>;
export type SettingsScreenProps = NativeStackScreenProps<ParamList, 'Settings'>;
export type VideoScreenProps = NativeStackScreenProps<ParamList, 'Video'>;
export type LoginScreenProps = NativeStackScreenProps<ParamList, 'Login'>;
export type WebViewScreenProps = NativeStackScreenProps<ParamList, 'Web'>;
export type SearchScreenProps = NativeStackScreenProps<ParamList, 'Search'>;